window.onload = function(){
	let showbtn = document.getElementsByClassName('fa-caret-down');
	let detailbox = document.getElementsByClassName('order-detail');
	for(let i=0;i<showbtn.length;i++){
		detailbox[i].style.display='none';
	}
	
	for(let i=0;i<showbtn.length;i++){
		showbtn[i].onclick = function(){
			if(detailbox[i].style.display=='none'){
				detailbox[i].style.display='block';
			}else{
				detailbox[i].style.display='none';
			}
		}
	}
}